<#include "/pages/common/head.html"/>
		
		<div id="sidebar">
			<a href="#" class="visible-phone"><i class="icon icon-th-list"></i> Tables</a>
			<ul style="display: block;">
				<li><a href="${CPATH!}/userAdmin/userList"><i class="icon icon-tint"></i> <span>用户管理</span></a></li>
				<li><a href="${CPATH!}/projectAdmin"><i class="icon icon-home"></i> <span>项目管理</span></a></li>
				<li class="active"><a href="${CPATH!}/project/createIndex"><i class="icon icon-pencil"></i> <span>创建项目</span></a></li>
				<li><a href="${CPATH!}/modelAdmin"><i class="icon icon-th"></i> <span>模块管理</span></a></li>
				<li><a href="${CPATH!}/createAdmin"><i class="icon icon-th-list"></i> <span>新建模块</span></a></li>
			</ul>
		</div>
		
		<div id="style-switcher">
			<i class="icon-arrow-left icon-white"></i>
			<span>Style:</span>
			<a href="#grey" style="background-color: #555555;border-color: #aaaaaa;"></a>
			<a href="#blue" style="background-color: #2D2F57;"></a>
			<a href="#red" style="background-color: #673232;"></a>
		</div>
		
		<div id="content">
			<div id="content-header">
				<h1>用户编辑</h1>
				<div class="btn-group">
					<a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a>
				</div>
			</div>
			<div id="breadcrumb">
				<a href="index.html" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
				<a href="#" class="tip-bottom">用户编辑</a>
			</div>
			<div class="container-fluid">
				
				<div class="row-fluid">
					<div class="span12">
						<div class="widget-box">
							<div class="widget-title">
								<span class="icon">
									<i class="icon-align-justify"></i>									
								</span>
								<h5>用户编辑...</h5>
							</div>
							
							<#if b?? && b==true>
							<div class="alert alert-success">
								<button class="close" data-dismiss="alert">×</button>
								<strong>Success!</strong>   ${info!}
							</div>
							</#if>
							<#if b?? && b==false>
							<div class="alert alert-error">
								<button class="close" data-dismiss="alert">×</button>
								<strong>Error!</strong>   ${info!}
							</div>
							</#if>
							
							<div class="widget-content nopadding">
								<form class="form-horizontal" method="post" action="${CPATH!}/userAdmin/editUser" name="basic_validate" id="basic_validate" novalidate="novalidate" />
									<input type="hidden" name="id" value="${user.get("ID")}">
									<input type="hidden" name="oldEmail" value="${user.get("LOGIN_EMAIL")}">
									
									<div class="control-group">
										<label class="control-label">名称：</label>
										<div class="controls">
											<input type="text" name="name" value="${user.get("NAME")}" class="required"/>
										</div>
									</div>
                                    <div class="control-group">
                                        <label class="control-label">登陆EMAIL：</label>
                                        <div class="controls">
                                        	<input type="text" name="email" value="${user.get("LOGIN_EMAIL")}"  id="email" />
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">密码：</label>
                                        <div class="controls">
                                            <input type="text" name="password" class="required"/>
                                            <span class="help-block">需要输入重置密码</span>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label">描述：</label>
                                        <div class="controls">
                                            <input type="text" name="desc" value="${user.get("DESCIPTION")}"  class="required"/>
                                        </div>
                                    </div>
									<div class="control-group">
										<label class="control-label">状态：</label>
										<div class="controls">
											<select name="state">
												<option value="Y" <#if user.get("IS_ENABLE") == "Y"> selected=true </#if> >有效 </option>
												<option value="N"<#if user.get("IS_ENABLE") == "N"> selected=true </#if> >无效</option>
											</select>
										</div>
									</div>
								
									<div class="form-actions">
										<button type="submit" class="btn btn-primary">Save</button>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>

			
<#include "/pages/common/foot.html"/>